package com.ruyuan.eshop.common.framework.context.user;

import com.ruyuan.eshop.common.framework.security.model.Buyer;
import com.ruyuan.eshop.common.framework.security.model.Seller;

/**
 * 用户信息hold接口
 * @author pwd
 * @version 1.0
 */
public interface UserHolder {

    /**
     * 获取seller
     * @return
     */
    Seller getSeller();

    /**
     * 获取buyer
     * @return
     */
    Buyer getBuyer();


}
